import request from '@/utils/request'
import defaultSettings from '@/settings'

// 发起清算行/发起行 查询
export async  function queryUrl(data) {
  return request({
    url: `${defaultSettings.ctx.cnapsApp}/transactionManage/baleSetting/BepsBaleMethodMaintain/page`,
    method: 'get',
  })
}

// 提交
export function submit(data) {
  return request({
    url: `${defaultSettings.ctx.cnapsApp}/transactionManage/baleSetting/BepsBaleMethodMaintain/save`,
    method: 'post',
    data
  })
}

export function query(brno) {
  return request({
    url: `${defaultSettings.ctx.cnapsApp}/transactionManage/baleSetting/BepsBaleMethodMaintain/search`,
    method: 'post',
    params: { key:brno }
  })
}

export const apiUrlConfig = {
  queryUrl: `${defaultSettings.ctx.cnapsApp}/transactionManage/baleSetting/BepsBaleMethodMaintain/fixTimeList`,
}
